<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="script/axios.min.js"></script>
    <script>
      var user = {"uname":"jim","age":"99"}
      function mySend(){
        axios({
          url:"/hello05/h01",
          method:"POST",
          data:user
        }).then(function(response){
          alert(response.data);
        })
      }
    </script>
</head>
<body>
  <input type="button" value="发送带有请求体参数的异步请求" onclick="mySend()"/>
</body>
</html>